const {
  getList
} = require('../method')

const router = (req, res) => {
  const method = req.method;
  const path = req.path;
  const postParams = req.body;
  if (method === 'GET' && path === '/api/getlist') {
    let list = getList()
    console.log(list)
    return list
  }
}

module.exports = router